package com.ocean;

import java.rmi.RemoteException;

public interface Worker extends ParkActive {
	public void setMigrantWorker(MigrantWorker mw) throws RemoteException;

	public WareHouse doTask(WareHouse inhouse) throws RemoteException;

	public void stopTask() throws RemoteException, InterruptedException;

	public boolean receiveMaterials(WareHouse inhouse) throws RemoteException;
}